package midone.exchangeskill.main.contract;

import midone.exchangeskill.base.contract.BasePresenter;
import midone.exchangeskill.base.contract.BaseView;
import midone.exchangeskill.bean.IndexGoodsBean;

/**
 * Created by NekoNeko on 2016/11/7.
 */

public class MainActivityContract {

    public interface MainActivityPresenter extends BasePresenter {
        void getIndexGoodsList(String catId, String sort, String pageNum);

    }

    public interface MainActivityView extends BaseView {
        void onGoodsListSuccess(IndexGoodsBean indexGoodsBean);

        void onGoodsListFailed(String msg);

        void onGoodsListError(Throwable throwable);

    }

}
